package com.shibo.order.yml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ronglianyun") //配置批量绑定在nacos下，可以无需@RefreshScope
@Data
public class RongLianYunYml {

    //将配置文件中的配置定义为成员变量，驼峰命名可以自动匹配
    private String accountSid;
    private String authToken;
    private String restUrl;


}
